<script setup lang="ts">
import mButton from "@/components/m-button.vue"

const showNetwork = () => {
    uni.showToast({
        title: `当前连接的网络版本:${window.ethereum.networkVersion}`,
        icon: "none",
    })
}
</script>
<template>
    <mButton @click="showNetwork">当前连接的网络版本</mButton>
</template>
